package helper;

import java.util.Scanner;

import org.eu.base.security.Encrypt;


public class BasicUserPassword {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		System.out.println("输入需要MD5加密的字符串，键入!结束程序");
		String line=in.nextLine();
		while(!line.equals("!")){
			System.out.println(Encrypt.md5(line));
			line=in.nextLine();
		}
	}

}
